Tag Link | [Email_POP->Delete] | Category | |
---|---|---|---|
Type | Member | Source Available | Yes |
Support | Preferred | Version | 8.0 |
Change | Unchanged | Data Source | Any |
Output Type | None | Security | None |
Implementation | LDML | Sets | Lasso 8.5, Lasso 8.0 |
[Email_POP->Delete] marks a message on the server for deletion. If a position is specified then that message is marked for deletion. If no position is specified then the current message is marked for deletion.
The message will not actually be deleted until the [Email_POP->Close] tag is called (or if the page finishes executing without closing the connection to the server). If the [Email_POP->Cancel] tag is called then all of the deletion marks will be cleared.
The current message is set when the [Email_POP] type is used in [Iterate] ... [/Iterate] tags or any time [Email_POP->Get], [Email_POP->Retrieve], [Email_POP->Delete], [Email_POP->Headers], or [Email_POP->UniqueID] is called with a position.
[Var: 'myPOP' = (Email_POP:
[Iterate: $myPOP, (Var: 'UniqueID')]
[$myPOP->(Delete)]
...
[/Iterate]
[$myPOP->Close]
Optional Parameters | |
---|---|
Position | The position of the message to be deleted. If not specified the current message is deleted. |
See the Lasso 8 Language Guide for examples of how to use this tag.